package com.vcredit.creditcat.model;

import java.io.Serializable;
import java.sql.Date;

import javax.validation.constraints.NotNull;

import com.vcredit.creditcat.model.base.AbstractItem;

/**
 * 用户个人信息表
 **/
public class AuthPersonalInfo extends AbstractItem implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
    /** personal_Info_id **/
    private java.lang.Long personalInfoId;
    /** cust_id **/
    private java.lang.Long custId;
    /** proccess_id **/
    private java.lang.Long proccessId;
    /** 学历 **/
    private java.lang.Integer educationKey;
    /** 学历value **/
    private java.lang.String educationValue;
    /** 月收入 **/
    private java.lang.Integer salaryKey;
    /** 收入value **/
    private java.lang.String salaryValue;
    /** 婚姻 **/
    private java.lang.Integer marriageKey;
    /** 婚姻value **/
    private java.lang.String marriageValue;
    /** 职业类型key **/
    private java.lang.Integer professionKey;
    /** 职业类型value **/
    private java.lang.String professionValue;
	/** 所属行业key **/
	private java.lang.Integer industryKey;
	/** 所属行业value **/
	private java.lang.String industryValue;
    /** 邮箱 **/
    private java.lang.String email;
    /** 有无公积金 **/
    private java.lang.Integer hasAccumulation;
    /** 创建时间 **/
    private java.sql.Date createTime;
    /** 最后更新时间 **/
    private java.sql.Date updateTime;
    /** 户籍是否在居住城市 1,是 0否 **/
    private java.lang.Integer censusIsLiveCity;
	/** 贷款用途 **/
    private Integer loanPurpose;
    
    public java.lang.Long getPersonalInfoId(){
        return personalInfoId;
    }
    public void setPersonalInfoId(java.lang.Long personalInfoId){
        this.personalInfoId = personalInfoId;
    }
    public java.lang.Long getCustId(){
        return custId;
    }
    public void setCustId(java.lang.Long custId){
        this.custId = custId;
    }
    public java.lang.Long getProccessId(){
        return proccessId;
    }
    public void setProccessId(java.lang.Long proccessId){
        this.proccessId = proccessId;
    }
    public java.lang.Integer getEducationKey(){
        return educationKey;
    }
    public void setEducationKey(java.lang.Integer educationKey){
        this.educationKey = educationKey;
    }
    public java.lang.String getEducationValue(){
        return educationValue;
    }
    public void setEducationValue(java.lang.String educationValue){
        this.educationValue = educationValue;
    }
    public java.lang.Integer getSalaryKey(){
        return salaryKey;
    }
    public void setSalaryKey(java.lang.Integer salaryKey){
        this.salaryKey = salaryKey;
    }
    public java.lang.String getSalaryValue(){
        return salaryValue;
    }
    public void setSalaryValue(java.lang.String salaryValue){
        this.salaryValue = salaryValue;
    }
    public java.lang.Integer getMarriageKey(){
        return marriageKey;
    }
    public void setMarriageKey(java.lang.Integer marriageKey){
        this.marriageKey = marriageKey;
    }
    public java.lang.String getMarriageValue(){
        return marriageValue;
    }
    public void setMarriageValue(java.lang.String marriageValue){
        this.marriageValue = marriageValue;
    }
    public java.lang.Integer getProfessionKey(){
        return professionKey;
    }
    public void setProfessionKey(java.lang.Integer professionKey){
        this.professionKey = professionKey;
    }
    public java.lang.String getProfessionValue(){
        return professionValue;
    }
    public void setProfessionValue(java.lang.String professionValue){
        this.professionValue = professionValue;
    }

	public Integer getIndustryKey() {
		return industryKey;
	}

	public void setIndustryKey(Integer industryKey) {
		this.industryKey = industryKey;
	}

	public String getIndustryValue() {
		return industryValue;
	}

	public void setIndustryValue(String industryValue) {
		this.industryValue = industryValue;
	}

	public java.lang.String getEmail(){
        return email;
    }
    public void setEmail(java.lang.String email){
        this.email = email;
    }
    public java.lang.Integer getHasAccumulation(){
        return hasAccumulation;
    }
    public void setHasAccumulation(java.lang.Integer hasAccumulation){
        this.hasAccumulation = hasAccumulation;
    }

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public java.lang.Integer getCensusIsLiveCity() {
		return censusIsLiveCity;
	}
	public void setCensusIsLiveCity(java.lang.Integer censusIsLiveCity) {
		this.censusIsLiveCity = censusIsLiveCity;
	}

	public Integer getLoanPurpose() {
		return loanPurpose;
	}

	public void setLoanPurpose(Integer loanPurpose) {
		this.loanPurpose = loanPurpose;
	}

	public AuthPersonalInfo(
			Long custId, Long proccessId,
			Integer educationKey, String educationValue, Integer salaryKey,
			String salaryValue, Integer marriageKey, String marriageValue,
			Integer professionKey, String professionValue, Integer industryKey,
			String industryValue,String email, Integer hasAccumulation,Integer censusIsLiveCity) {
		super();
		this.custId = custId;
		this.proccessId = proccessId;
		this.educationKey = educationKey;
		this.educationValue = educationValue;
		this.salaryKey = salaryKey;
		this.salaryValue = salaryValue;
		this.marriageKey = marriageKey;
		this.marriageValue = marriageValue;
		this.professionKey = professionKey;
		this.professionValue = professionValue;
		this.industryKey=industryKey;
		this.industryValue=industryValue;
		this.email = email;
		this.hasAccumulation = hasAccumulation;
		this.censusIsLiveCity = censusIsLiveCity;
	}
	public AuthPersonalInfo(){
		super();
	}
	@Override
	public int getStatus() {
		// TODO Auto-generated method stub
		return 0;
	}
}